<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="/WEB-INF/jsp/common/taglibs.jsp"%>
<%--@elvariable id="handler" type="com.youtills.core.app.dev.WhoAmIRequestHandler"--%>

<div id="who-am-i">
    <h2>Who Am I</h2>
    <h4>All your information</h4>
    <table>
        <thead>
        <tr>
            <td>Name</td>
            <td>Value</td>
        </tr>
        </thead>
        <tbody>
        <tr>
            <td>Remote Address</td>
            <td>${pageContext.request.remoteAddr}</td>
        </tr>
        <tr>
            <td>Remote Host</td>
            <td>${pageContext.request.remoteHost}</td>
        </tr>
        <tr>
            <td>Remote Port</td>
            <td>${pageContext.request.remotePort}</td>
        </tr>
        <tr>
            <td>Remote User</td>
            <td>${pageContext.request.remoteUser}</td>
        </tr>
        <tr>
            <td>Request Method</td>
            <td>${pageContext.request.method}</td>
        </tr>
        <tr>
            <td>User Agent</td>
            <td>${handler.userAgent}</td>
        </tr>

        </tbody>

    </table>
</div>